//
//  QITestData.swift
//  月升
//
//  Created by 拉利法 on 2024/7/22.
//

import UIKit

class QITestData: NSObject {
    
    func getSkinData() -> [String: Any] {
        let dict = [
            "skin" : [
                "pores_report" : "[鼻子]的毛孔过大，要加繄修護喔[方案：\n                                            上午：\n                                            使用凝胶洁面乳清洁。然后使用日常精华液、保湿霜和防晒霜。\n                                            下午：\n                                            使用油基清洁剂清洁，去除污垢和彩妆。随后使用凝胶清洁剂。\n                                            每周使用一次澄清泥面膜。涂抹10-15分钟，然后用温水清洗。\n                                            将豌豆大小的视黄醇霜涂抹在清洁、干燥的皮肤上，避开眼部区域。将使用次数限制为每周 1-2 次，然后根据耐受性慢慢增加频率。\n                                            ]。 [额头,左脸颊,右脸颊,下巴]的毛孔过大，要加繄修護喔[方案：\n                                            上午：\n                                            使用凝胶洁面乳清洁。然后使用日常精华液、保湿霜和防晒霜。\n                                            下午：\n                                            使用油基清洁剂清洁，去除污垢和彩妆。随后使用凝胶清洁剂。\n                                            每周使用一次澄清泥面膜。涂抹10-15分钟，然后用温水清洗。\n                                            将豌豆大小的视黄醇霜涂抹在清洁、干燥的皮肤上，避开眼部区域。将使用次数限制为每周 1-2 次，然后根据耐受性慢慢增加频率。\n                                            ]。",
                "pore_video" : "",
                "acne" : [
                    [
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/daily-moisture-skinceuticals.jpg",
                        "bad" : "",
                        "name" : "daily-moisture-skinceuticals"
                    ],
                    [
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/blemish-age-defense-Skinceuticals.jpg",
                        "bad" : "oilness_dry, oilness_sensitive, rash_light, rash_serious",
                        "name" : "blemish-age-defense-Skinceuticals"
                    ],
                    [
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/clear-daily-soothing-UV-defense-50-suncreen-Skinceuticals.jpg",
                        "bad" : "",
                        "name" : "clear-daily-soothing-UV-defense-50-suncreen-Skinceuticals"
                    ],
                    [
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/LHA-Cleansing-Gel-Skinceuticals.jpg",
                        "bad" : "acne_serious, oilness_dry, oilness_sensitive, rash_light, rash_serious",
                        "name" : "LHA-Cleansing-Gel-Skinceuticals"
                    ],
                    [
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/purifying-cleanser-with-glycolic-acid-Skinceuticals.png",
                        "bad" : "oilness_sensitive, rash_light, rash_serious",
                        "name" : "purifying-cleanser-with-glycolic-acid-Skinceuticals"
                    ]
                ],
                "wrinkles_report" : "發現一些眼紋，小月來教你去紋[方案：\n                                    上午和下午：每天两次将精华液涂抹在眼睛下方和眉骨处，然后涂抹眼霜。\n                                    上午：确保在眼睛下方涂抹常用的防晒霜。\n                                    ]。 [左脸颊,右脸颊,下巴,鼻子,,]的皱纹有点显眼，多加保养喔[方案：\n                                                上午：\n                                                在干燥的面部、颈部涂抹 4-5 滴维生素 C 精华液。\n                                                将薄薄一层抗皱霜按摩至整个面部、颈部。\n                                                涂抹保湿霜和防晒霜。\n                                                下午：\n                                                将豌豆大小的视黄醇涂抹在干净的干燥皮肤上，待其吸收后再使用其他产品。最初限制每周使用 1-2 次，然后根据皮肤耐受性慢慢增加频率。\n                                                然后涂上一层薄薄的豆大小的视黄醇涂抹在干净的干燥皮肤上，待其吸收后再使用其他产品。最初限制每周使用 1-2 次，然后根据皮肤耐受性慢慢增加频率。\n                                                然后涂上一层薄薄的抗皱霜。\n                                                ]。 [额头]的皱纹有点显眼，多加保养喔[方案：\n                                    上午：\n                                    在干燥的面部、颈部涂抹 4-5 滴维生豆大小的视黄醇涂抹在干净的干燥皮肤上，待其吸收后再使用其他产品。最初限制每周使用 1-2 次，然后根据皮肤耐受性慢慢增加频率。\n                                                然后涂上一层薄薄的抗皱霜。\n                                                ]。 [额头]的皱纹有点显眼，多加保养喔[方案：\n                                    上午：\n                                    在干燥的面部、颈部涂抹 4-5 滴维生素 C 精华液。\n                                    将薄薄一层抗皱霜按摩至整个面部、颈部。\n                                    涂抹保湿霜和防晒霜。\n                                    下午：\n                                    将豌豆大小的视黄醇涂抹在干净的干燥皮肤上，待其吸收后再使用其他产品。最初限制每周使用 1-2 次，然后根据皮肤耐受性慢慢增加频率。\n                                    然后涂上一层薄薄的抗皱霜。\n                                    ]。",
                "pores" : [
                    [
                        "name" : "clarifying-clay-masque-Skinceuticals",
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/clarifying-clay-masque-Skinceuticals.png",
                        "bad" : ""
                    ],
                    [
                        "name" : "retinol-03-Skinceuticals",
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/retinol-03-Skinceuticals.jpg",
                        "bad" : "oilness_sensitive, rash_light, rash_serious, 懷孕_懷孕中, 懷孕_坐月中"
                    ],
                    [
                        "name" : "prevage-multi-restorative-soft-cream-Elizabeth-Arden",
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/prevage-multi-restorative-soft-cream-Elizabeth-Arden.png",
                        "bad" : ""
                    ],
                    [
                        "name" : "white-tea-skin-solutions-gentle-purifying-cleanser-Elizabeth-Arden",
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/white-tea-skin-solutions-gentle-purifying-cleanser-Elizabeth-Arden.jpg",
                        "bad" : ""
                    ],
                    [
                        "name" : "ceramide-replenishing-cleansing-oil-Elizabeth-Arden",
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/ceramide-replenishing-cleansing-oil-Elizabeth-Arden.jpg",
                        "bad" : "acne_serious"
                    ],
                    [
                        "name" : "eight-hour-hydraplay-daily-moisturizer-Elizabeth-Arden",
                        "image_name" : "https://admin.moonrise-beauty.com/skincare/eight-hour-hydraplay-daily-moisturizer-Elizabeth-Arden.jpg",
                        "bad" : ""
                    ]
                ],
                "wrinkles" : [
                    
                ],
                "acne_report" : "[左脸颊,鼻子]的情况需要注意，[方案：\n上午：\n使用温和的清洁剂。\n使用轻质保湿霜，然后涂抹防晒霜，或选择具有 SPF 的保湿霜。\n下午：\n使用含有水杨酸的去角质凝胶洁面乳去除彩妆、污垢和杂质。\n在T区等容易长痘的部位使用水杨酸祛斑。\n  最后涂上轻盈的保湿霜。\n]。 [额头,右脸颊]有輕微的粉刺，可以稍作保養 [方案：\n严重痤疮的特征是深部发炎的脓疱/囊肿。这种情况，护肤品不足，应就医。\n如果您出现疼痛的皮下肿块并伴有炎症，最好去看皮肤科医生，他可以开出口服药物和局部治疗相结合的处方。\n尽可能保持如果您出现疼痛的皮下肿块并伴有炎症，最好去看皮肤科医生，他可以开出口服药物和局部治疗相结合的处方。\n尽可能保持皮肤清洁、无油，不要挑痘或爆痘，因为这会导致疤痕。\n ]。",
                "makeup" : [
                    "https://moonrise-1301447010.cos.ap-guangzhou.myqcloud.com/face_skin_detection_results/172161289470/phpinSP76_face_skin_detection_final_combined_original_image_onlywrinkle_thres1_10_thres2_10.jpg",
                    "https://moonrise-1301447010.cos.ap-guangzhou.myqcloud.com/face_skin_detection_results/172161289470/phpinSP76_face_skin_detection_final_combined_original_image_onlypore_thres0.001.jpg",
                    "https://moonrise-1301447010.cos.ap-guangzhou.myqcloud.com/face_skin_detection_results/172161289470/phpinSP76_face_skin_detection_final_combined_original_image_onlyacne_thres0.jpg"
                ],
                "wrinkle_video" : "",
                "acne_video" : ""
            ]
        ]
        return dict
    }
    
    func getDevelop_facial_detection() -> [String: Any] {
        let dict = [
            "facial_data_chinese_dict" : [
              "nose_name" : "宽鼻",
              "left_eye_name" : "丹凤眼",
              "right_eyebrow_name" : "弧形眉",
              "left_eyebrow_name" : "上斜眉",
              "face_name" : "椭圆脸",
              "right_eye_name" : "丹凤眼",
              "mouth_name" : "欧美唇"
            ],
            "facial_data_code_string" : "AAA,AAA,AABC,BBA,A,C,B",
            "top5_makeup_type_chinese_name" : [
              [
                "新手"
              ],
              [
                "新手",
                "韩系",
                "氛围感"
              ],
              [
                "狼系",
                "亚裔",
                "雀斑"
              ],
              [
                "新手",
                "淡妆"
              ],
              [
                "日常",
                "淡妆"
              ]
            ],
            "facial_data_code_dict" : [
              "face_name" : "AABC",
              "right_eyebrow_name" : "B",
              "right_eye_name" : "AAA",
              "mouth_name" : "BBA",
              "left_eyebrow_name" : "C",
              "left_eye_name" : "AAA",
              "nose_name" : "A"
            ],
            "statue" : "success",
            "top5_video_ID_list" : [
              "V02673",
              "V01746",

              "V03055",
              "V00775",
              "V01162"
            ],
            "top5_video_info_detail_dict" : [
              "V01746" : [
                "遮瑕" : 2,
                "修容" : 2,
                "选择的Video_Code" : "V01746",
                "腮红" : 2,
                "底妆" : 2,
                "妆容风格" : [

                  "新手",
                  "韩系",
                  "氛围感"
                ],
                "高光" : 1,
                "视频链接" : "https://www.bilibili.com/video/BV1v94y1L7mK/?spm_id_from=333.999.0.0&vd_source=874a98c2e42f90b8c5af77c3805b07e1",
                "眼线" : 2,
                "口红" : 3,
                "眼影" : 10,
                "画眉" : 3,
                "定妆" : 1,
                "睫毛膏" : 1
              ],
              "V03055" : [
                "遮瑕" : 1,
                "修容" : 1,
                "选择的Video_Code" : "V03055",
                "腮红" : 1,
                "底妆" : 1,
                "妆容风格" : [
                  "狼系",
                  "亚裔",
                  "雀斑",
                  "混血"
                ],
                "高光" : 2,
                "视频链接" : "https://v.douyin.com/iLkoQxEh/",
                "眼线" : 1,
                "口红" : 3,
                "眼影" : 4,
                "画眉" : 2,
                "定妆" : 1,
                "睫毛膏" : 2
              ],
              "V00775" : [
                "遮瑕" : 0,
                "修容" : 1,
                "选择的Video_Code" : "V00775",
                "腮红" : 2,
                "底妆" : 2,
                "妆容风格" : [
                  "新手",
                  "淡妆"
                ],
                "高光" : 0,
                "视频链接" : "https://v.douyin.com/iLRaGjyt/",
                "眼线" : 1,
                "口红" : 2,
                "眼影" : 2,
                "画眉" : 2,
                "定妆" : 2,
                "睫毛膏" : 1
              ],
              "V02673" : [
                "遮瑕" : 1,
                "修容" : 1,
                "选择的Video_Code" : "V02673",
                "腮红" : 4,
                "底妆" : 1,
                "妆容风格" : [
                  "新手"
                ],
                "高光" : 1,
                "视频链接" : "https://www.kuaishou.com/f/X4UJw4Vms3Dc1Mm",
                "眼线" : 3,
                "口红" : 1,
                "眼影" : 5,
                "画眉" : 2,
                "定妆" : 1,
                "睫毛膏" : 0
              ],
              "V01162" : [
                "遮瑕" : 0,
                "修容" : 8,
                "选择的Video_Code" : "V01162",
                "腮红" : 0,
                "底妆" : 1,
                "妆容风格" : [
                  "日常",
                  "淡妆"
                ],
                "高光" : 3,
                "视频链接" : "https://v.douyin.com/iL88MfM5/",
                "眼线" : 0,
                "口红" : 0,

                "眼影" : 0,
                "画眉" : 0,
                "定妆" : 0,
                "睫毛膏" : 0
              ]
            ]
        ] as [String : Any]
        
        return dict
    }
    
    func getMakeupData() -> [String: Any] {
        let dict = [
            "Cos_Save_Path_Makeup_Transfer" : [
              "https://moonrise-1301447010.cos.ap-guangzhou.myqcloud.com/makeup_transfer_results/172161410370/phpjRxCZj_V02673_final_makeup_transfer_image_with_background.jpg",
              "https://moonrise-1301447010.cos.ap-guangzhou.myqcloud.com/makeup_transfer_results/172161410370/phpjRxCZj_V01746_final_makeup_transfer_image_with_background.jpg",
              "https://moonrise-1301447010.cos.ap-guangzhou.myqcloud.com/makeup_transfer_results/172161410370/phpjRxCZj_V03055_final_makeup_transfer_image_with_background.jpg",
              "https://moonrise-1301447010.cos.ap-guangzhou.myqcloud.com/makeup_transfer_results/172161410370/phpjRxCZj_V00775_final_makeup_transfer_image_with_background.jpg",
              "https://moonrise-1301447010.cos.ap-guangzhou.myqcloud.com/makeup_transfer_results/172161410370/phpjRxCZj_V01162_final_makeup_transfer_image_with_background.jpg"
            ],
            "Makeup_Transfer_Result_Local_Save_Path" : [
              "/home/ubuntu/makeup/makeup_transfer_final-interface_code/outputs/phpjRxCZj_V02673_final_makeup_transfer_image_with_background.jpg",
              "/home/ubuntu/makeup/makeup_transfer_final-interface_code/outputs/phpjRxCZj_V01746_final_makeup_transfer_image_with_background.jpg",
              "/home/ubuntu/makeup/makeup_transfer_final-interface_code/outputs/phpjRxCZj_V03055_final_makeup_transfer_image_with_background.jpg",
              "/home/ubuntu/makeup/makeup_transfer_final-interface_code/outputs/phpjRxCZj_V00775_final_makeup_transfer_image_with_background.jpg",
              "/home/ubuntu/makeup/makeup_transfer_final-interface_code/outputs/phpjRxCZj_V01162_final_makeup_transfer_image_with_background.jpg"
            ]
        ]
        return dict
    }
        
}




